home *** CD-ROM | disk | FTP | other *** search
- package java.net;
-
- import java.security.AccessController;
- import java.util.Enumeration;
- import java.util.NoSuchElementException;
-
- final class URLClassLoader$3 implements Enumeration<URL> {
- private URL url;
- // $FF: synthetic field
- final Enumeration val$e;
- // $FF: synthetic field
- final URLClassLoader this$0;
-
- URLClassLoader$3(URLClassLoader var1, Enumeration var2) {
- this.this$0 = var1;
- this.val$e = var2;
- this.url = null;
- }
-
- private boolean next() {
- if (this.url != null) {
- return true;
- } else {
- do {
- URL var1 = (URL)AccessController.doPrivileged(new URLClassLoader.3.1(this), URLClassLoader.access$100(this.this$0));
- if (var1 == null) {
- break;
- }
-
- this.url = this.this$0.ucp.checkURL(var1);
- } while(this.url == null);
-
- return this.url != null;
- }
- }
-
- public URL nextElement() {
- if (!this.next()) {
- throw new NoSuchElementException();
- } else {
- URL var1 = this.url;
- this.url = null;
- return var1;
- }
- }
-
- public boolean hasMoreElements() {
- return this.next();
- }
- }
-